package face.pay.open.material;


import face.pay.open.material.service.IMchApplymentUpgradeService;
import face.pay.util.ResultMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * 进件升级接口
 */
@Controller
@RequestMapping("/applyment")
public class ApplymentUpgradeController {


    @Autowired
    IMchApplymentUpgradeService ApplymentService;


    @RequestMapping("/upgrade")
    @ResponseBody
    public ResultMessage applyment(@RequestBody String json) {

        return ApplymentService.applyment(json);


    }
}
